package com.hd.core.project.module.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 学生名单表 module_student
 * 
 * @author RichardTang
 * @date 2018-08-19
 */
@TableName("module_student") 
public class Student{
	
	/** 学生id **/
	@TableId(type = IdType.UUID)
	private String id;
	
	/** 学生姓名 **/
	private String name;
	
	/** 性别 0:男 1:女 **/
	private Integer sex;
	
	/** 手机号 **/
	private String telephone;
	
	/** 地址 **/
	private String address;
	
	/** 年级 **/
	@TableField(exist = false)
	private String grade;
	
	/** 现读班级id **/
	private String nowClassId;
	
	/** 现居住宿舍id **/
	private Integer nowDormitoryId;
	
	/**
	  * 现读班级名称
	 */
	@TableField(exist = false)
	private String nowClassName;
	
	/** 班主任名称 **/
	@TableField(exist = false)
	private String masterTeacherName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getNowClassId() {
		return nowClassId;
	}

	public void setNowClassId(String nowClassId) {
		this.nowClassId = nowClassId;
	}

	public Integer getNowDormitoryId() {
		return nowDormitoryId;
	}

	public void setNowDormitoryId(Integer nowDormitoryId) {
		this.nowDormitoryId = nowDormitoryId;
	}

	public String getNowClassName() {
		return nowClassName;
	}

	public void setNowClassName(String nowClassName) {
		this.nowClassName = nowClassName;
	}

	public String getMasterTeacherName() {
		return masterTeacherName;
	}

	public void setMasterTeacherName(String masterTeacherName) {
		this.masterTeacherName = masterTeacherName;
	}
}
